<?php
defined( '_JEXEC' ) or die( 'Restricted index access' );
define( 'TEMPLATEPATH', dirname(__FILE__) );
/*
-----------------------------------------
Puthea - July 2012 Template
-----------------------------------------
*/

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<?php
	$body_width = $this->params->get ("xml_body_width");
	$head_height = $this->params->get ("xml_head_height");
	$left_width = $this->params->get ("xml_left_width");
	$right_width = $this->params->get ("xml_right_width");	
	$showSlideShow	 = $this->countModules('slideshow');
	$hottravel		 = $this->countModules('hottravel');
	$option = $_GET['option'];
	
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/kks-travel2/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/kks-travel2/system/css/general.css" type="text/css" />
<link href="<?php echo $this->baseurl ?>/templates/kks-travel2/css/template_css.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo $this->baseurl ?>/templates/kks-travel2/css/suckerfish.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo $this->baseurl ?>/templates/kks-travel2/css/layout_css.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo $this->baseurl ?>/templates/kks-travel2/css/myTheme.css" rel="stylesheet" media="screen" />
<script language="javascript" src="<?php echo $this->baseurl ?>/templates/kks-travel2/js/jquery.js"></script>
<script language="javascript" src="<?php echo $this->baseurl ?>/templates/kks-travel2/js/jquery.dimensions.js"></script>
<script language="javascript">
	var nameRight = "#floatMenuRight";
	var nameLeft = "#floatMenuLeft";
	var menuYlocRight = null;
	var menuYlocLeft = null;
	jQuery.noConflict();
	jQuery(function() {
		menuYlocRight = parseInt(jQuery(nameRight).css('top').substring(0,jQuery(nameRight).css('top').indexOf('px')))
		jQuery(window).scroll(function () { 
			offset = menuYlocRight+jQuery(document).scrollTop()+"px";
			jQuery(nameRight).animate({top:offset},{duration:500,queue:false});
		});
		/*menuYlocLeft = parseInt(jQuery(nameLeft).css("top").substring(0,jQuery(nameLeft).css("top").indexOf("px")))
		jQuery(window).scroll(function () { 
			offset = menuYlocLeft+jQuery(document).scrollTop()+"px";
			jQuery(nameLeft).animate({top:offset},{duration:500,queue:false});
		});*/
	}); 
</script>
</head>

<body class="cms-index-index cms-home">
<?php
   if (file_exists(JPATH_SITE.DS.'components'.DS.'com_joomlastats'.DS.'joomlastats.inc.php'))
       include_once(JPATH_SITE.DS.'components'.DS.'com_joomlastats'.DS.'joomlastats.inc.php');
    ?>
	<!-- <div id="floatMenuLeft">
		<ul class="menu1">
			<li><a href="#" onclick="return false;"> Home </a></li>
		</ul>
		<ul class="menu2">
			<li><a href="#" onclick="return false;"> Table of content </a></li>
			<li><a href="#" onclick="return false;"> Exam </a></li>
			<li><a href="#" onclick="return false;"> Wiki </a></li>
		</ul>
		<ul class="menu3">
			<li><a href="#" onclick="return false;"> Technical support </a></li>
		</ul>
	</div> -->
	<div id="floatMenuRight">
		<div class="suppoter">
			<h4 class="title_support">Customer Support</h4><br />
			<div>
				<span>TEL : +855 23 666 2 888</span>
				<span>H/P : +855 16 410 666</span>
				<span>EMAIL : info@kks-travel.com</span>
			</div><br />
			<h4 class="title_support">Live Chat Support</h4><br />
           <!--
                Skype 'My status' button
                http://www.skype.com/go/skypebuttons
                -->
                <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
                <a href="skype:emend_enjer?call"><img src="http://mystatus.skype.com/bigclassic/emend_enjer" style="border: none;" width="140" height="30" alt="My status" /></a>


		</div>
	</div>
	<div style="background-color:#000000; height:25px;"><div class="links"><div class="link_content"><jdoc:include type="modules" name="menu_right"/></div></div></div>
	<div class="wrapper">
    	<div class="page">
            <!--Header-->
            <div class="header-container">
            	<div class="header">
             	   <h1 class="logo"><a title="KKS Travel" href="<?php echo $this->baseurl ?>/index.php/">
                        <img alt="KKS Travel" src="<?php echo $this->baseurl ?>/templates/kks-travel2/images/logo.png" width="140"></a>
                   </h1>
                   <div class="quick-access">
                	   <p class="welcome-msg"><jdoc:include type="modules" name="search"/></p>
                   </div>
                </div>
            </div>
            <!--end header-->
            <!--Menu-->
            <div class="nav-container">
            <!--<li class="first_link"></li>--><jdoc:include type="modules" name="menu"/>
            <!--<li class="home_link"></li>-->
            </div>
            <!--end menu-->
            <!--Content-->
            <div class="main-container col2-right-layout">
            	<div class="main">
                	<div class="col-main">
                    	<div class="bgs2">
                            <div class="bgs1">
                            	<div class="bgs3">
                                	<div class="std">
                                    	<div class="scroller">
                                    	<jdoc:include type="modules" name="slideshow"/>
                                        </div>
                                        <div>
                                                 <?php if($hottravel=='0'||$option=='com_search'||$_GET['view']!='frontpage'){?>
                                                 <div style="padding-right:20px;">
                                                    <jdoc:include type="component" />
                                                   </div>
                                                 <?php }else{?>
                                                    <jdoc:include type="modules" name="hottravel"/>
                                                 <?php }?>
                                        </div>
                                        <div>
                                        	<div style="float:left; width:300px;"><jdoc:include type="modules" name="footer1"/></div>
                                            <div style="width:300px;"><jdoc:include type="modules" name="footer2"/></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-right sidebar">
                    	<div class="block block-currency"><jdoc:include type="modules" name="booking"/>
                        </div>
                        <!--<div><img src="images/newsletter.png" width="305px"/></div>-->
                        <div style="padding-bottom:10px;"><jdoc:include type="modules" name="subscribe"/></div>
                        <div style="padding-top:10px;"><jdoc:include type="modules" name="bottom1"/></div>
                    </div>
                
                </div>
            </div>
            <!--end content-->
            <div class="footer-container"><div class="footer">&nbsp;</div></div>
        </div>
    </div>
</body>
</html>